<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/themes/bootstrap/easyui.css" />
<link type="text/css"
	href="${pageContext.request.contextPath}/themes/icon.css"
	rel="stylesheet">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.9.1.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/easyui-lang-zh_CN.js"></script>
</head>
<script type="text/javascript">
$(function(){
	$('#dg').datagrid({    
	    url:'OrderInfo',
	    columns:[[    
	        {field:'pId',title:'商品ID',width:100,hidden:true},    
	        {field:'pName',title:'商品名称',width:100}, 
	        {field:'pType',title:'商品型号',width:100},    
	        {field:'pClass',title:'商品类型',width:100},  
	        {field:'pTime',title:'商品入库时间',width:200},
	        {field:'pCost',title:'进价',width:100},
	        {field:'pPrice',title:'预售价',width:100},
	        {field:'poAmount',title:'交易量',width:100},	
	        {field:'supId',title:'供应商ID',width:100,hidden:true},    
	        {field:'supName',title:'供应商单位名',width:200},  	       
	    ]],	
	    pagination:true,
	    pageList:[5,10,20,30,50,100,200]
	})
})
</script>
<body>
	<table id="dg"></table>
</body>
</html>